windowhit()

Description:

Check which window the specified rectangle hits

Syntax:

Required syntax:

 

windowhandle.window = windowexists( x , y , width , height )

 

Parameters:

Required parameters

Discription

x Horizontal ( x ) position of rectangle to check if hit a window
y Vertical ( y ) position of rectangle to check if hit a window
width Width of rectangle to check if hit a window
height Height of rectangle to check if hit a window

Returns:

the windowhandle of a hitted window, null if none

Example: